MailPoet\API\JSON\v1\Newsletters A

Total Complexity 52
Dependencies 29
Dependents 2
Total lines 389
Lines of code 277
Logical lines of code 145
Comment lines 19
Methods 16
Properties 18

Methods 16

Method Rating Maintainability Complexity Lines of code
setStatus()
B
39 19 61
sendPreview()
S
54 5 21
bulkAction()
S
56 4 17
showPreview()
S
55 3 20
listing()
S
54 2 20
getWithStats()
S
56 2 18
get()
S
58 2 15
restore()
S
59 2 15
trash()
S
59 2 15
duplicate()
S
59 2 15
delete()
S
60 2 13
__construct()
S
55 1 19
create()
S
65 2 9
getNewsletter()
S
72 2 5
save()
S
63 1 10
getViewInBrowserUrl()
S
75 1 4